package demo01_extense;

public class Cat extends Animal{
    public Cat() {
    }

    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("🐱喜欢吃鱼");
    }
    public void getMouse(){
        System.out.println("🐱会抓老鼠");
    }
}
